<?php
/*
	This file is part of PGallery; a FrogCMS plugin.

	PGallery is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	PGallery is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with PGallery.  If not, see <http://www.gnu.org/licenses/>.
*/


class LibGd
{
	
	
	// Upload path
	private $upload_path;
	// Separator
	private $sep;
	// Last error message
	public $msg;
	
	
	public function setUploadPath($upload_path){
		$this->upload_path = $upload_path;
	}
	
	
	
	
	/**
	 * Function to test the GD2 capabilities
	 *
	 * @return		bool		Class var $msg should contain error msg on failure
	 */
	function test(){
		$this->msg = 'foo';
		return TRUE;
	}
	
	
}